package com.scut.online_black_market.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.CreatedBy;

/**
 * create by yellowBroke on 2020/11/2 12:39
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("personal")
public class Personal {

    @TableId("student_number")
    private String studentNumber;

    private String nickname;

    @JsonIgnore
    private String password;

    private String gender;

    private String campus;

    private String address;

    private float balance;

    private String pictureAddress;

    private String email;
}
